﻿using System;
using EyFramework.Common;
using EyFramework.Library;

namespace EyFramework.AutoCode
{
    public partial class FrmAutoCode : FrmDevBase
    {
        public FrmAutoCode()
        {
            InitializeComponent();
        }

        private void nbiDbConect_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            FrmDBSetting frmDbSetting = new FrmDBSetting();
            frmDbSetting.ShowDialog();
        }

        private void FrmAutoCode_Load(object sender, EventArgs e)
        {
            PublicGlobal.DataBases = PublicGlobal.GetDbConfigure();
        }

        private void nbiOneKey_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            FrmBuildAll fbm = new FrmBuildAll();
            fbm.ShowDialog();
        }

        private void navBarItem5_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            Globals.ShowInfoNotice(this,"测试一下");
        }

        private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {

        }

    }
}
